package com.bus.boot.dao.assist;

import java.util.List;

import com.bus.boot.entity.assist.BusGuestbook;
import com.bus.common.hibernate4.Updater;
import com.bus.common.page.Pagination;

public interface BusGuestbookDao {
	public Pagination getPage(Integer siteId, Integer ctgId,Integer ctgIds[],
			Integer userId, Boolean recommend,Short checked, boolean desc,
			boolean cacheable, int pageNo,int pageSize);
	
	public List<BusGuestbook> getList(Integer siteId, Integer ctgId,
			Integer userId,Boolean recommend, Short checked, boolean desc,
			boolean cacheable, int first, int max);

	public BusGuestbook findById(Integer id);

	public BusGuestbook save(BusGuestbook bean);

	public BusGuestbook updateByUpdater(Updater<BusGuestbook> updater);

	public BusGuestbook deleteById(Integer id);
}